package com.example.yzx.allriddle.daomain;

import java.util.Random;

public class user {
    private int uid;
    private String name;
    private float grade;
    @Override
    public String toString() {
        return "user{" +
                "uid=" + uid +
                ", name='" + name + '\'' +
                ", grade=" + grade +
                '}';
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public user(int uid, String name, float grade) {
        this.uid = uid;
        this.name = name;
        this.grade = grade;
    }

    public void setName(String name) {
        this.name = name;
    }

    public float getGrade() {
        return grade;
    }

    public void setGrade(float grade) {
        this.grade = grade;
    }



}
